matrix = [[j + 1 for j in range(4*i, 4*i + 4)] for i in range(3)]
print(matrix)

trans_by_zip = list(zip(*matrix))
print(trans_by_zip)
trans_by_zip = [[i for i in row] for row in trans_by_zip]
print(trans_by_zip)

trans_by_nested = [[row[i] for row in matrix] for i in range(len(matrix[0]))]
print(trans_by_nested)

trans_by_cycle = []
for i in range(len(matrix[0])):
    new_row = []
    for row in matrix:
        new_row.append(row[i])
    trans_by_cycle.append(new_row)
print(trans_by_cycle)
